<%@page import="Info.TongjiI"%>
<%@page import="java.util.List"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.util.Date"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
	<div id="wrap">
		<div id="top_content">
			<div id="header">
				<div id="rightheader">
					<p>
						<%
							Date d = new Date();
							SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
						%>
						<%=sdf.format(d)%>
						<br />
					</p>
				</div>
				<div id="topheader">
					<h1 id="title">
						<a href="#">套餐统计</a>
					</h1>
				</div>
				<div id="navigation"></div>
			</div>
			<div id="content">
				<p id="whereami"></p>
				<h1>Welcome!</h1>
				
			<table class="table1" width="500" height="2" border="1" cellpadding="0" cellspacing="0" align="center">
					<tr class="table_header" align="center">	
					    <td width="5%" align="center">ID</td>		
						<td width="8%" align="center">套餐名称</td>
						<td width="8%" align="center">预约次数</td>
						</tr>
					<%
					    List<TongjiI> list=(List<TongjiI>)request.getAttribute("tongjis");
					      for(int i=0;i<list.size();i++){
					    	 TongjiI  t = list.get(i);
					%>
					<tr class="row1">
					    <td align="center"><%=t.getId()%></td>
						<td align="center"><%=t.getName()%></td>
						<td align="center"><%=t.getCount()%></td>
						</tr>
                  <%} %>      
				</table>
				<br>
				<br>
				<br>
			</div>
		</div>
		<div id="footer">
			<div id="footer_bg">ABC@126.com</div>
		</div>
	</div>
</body>
</html>
